package com.wuzuqing.android.eightdiagrams

import android.content.Intent
import android.os.Bundle
import android.view.View

class WelcomeActivity : BaseActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_welcome)

        findViewById<View>(R.id.number).setOnClickListener {
            startActivity(Intent(self, MeiHuaYiShuActivity::class.java))
        }
        findViewById<View>(R.id.baZi).setOnClickListener {
            startActivity(Intent(self, BaZiActivity::class.java))
        }
        findViewById<View>(R.id.wenWang).setOnClickListener {
            startActivity(Intent(self, WenWangShenShuActivity::class.java))
        }
        findViewById<View>(R.id.baZiHistory).setOnClickListener {
            startActivity(Intent(self, BaZiHistoryActivity::class.java))
        }
        findViewById<View>(R.id.baZiGetTime).setOnClickListener {
            startActivity(Intent(self, BaZiQueueTimeActivity::class.java))
        }
        findViewById<View>(R.id.qiMenDunJia).setOnClickListener {
            startActivity(Intent(self, QiMenDunJiaActivity::class.java))
        }
        findViewById<View>(R.id.fucai3D).setOnClickListener {
            startActivity(Intent(self, Fucai3DOpenActivity::class.java))
        }
        findViewById<View>(R.id.xglhc).setOnClickListener {
            startActivity(Intent(self, XglhcOpenActivity::class.java))
        }
        findViewById<View>(R.id.test).setOnClickListener {
            startActivity(Intent(self, TestActivity::class.java))
        }
    }
}
